﻿namespace JNPF.Basics.Models
{
    /// <summary>
    /// 流程节点
    /// 版 本：V3.0.0
    /// 版 权：引迈信息技术有限公司（https://www.jnpfsoft.com）
    /// 作 者：JNPF开发平台组
    /// 日 期：2018-06-12 
    /// </summary>
    public class FlowNodeModel
    {
        /// <summary>
        /// 节点编码
        /// </summary>
        public string id { get; set; }
        /// <summary>
        /// 节点名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 节点类型:startround/endround/stepnode/stepcondition
        /// </summary>
        public string type { get; set; }
        /// <summary>
        /// 节点进度
        /// </summary>
        public string Progress { get; set; }
        /// <summary>
        /// 驳回步骤
        /// </summary>
        public string RejectStep { get; set; }
        /// <summary>
        /// 经办发起（主管、部门领导、公司领导）
        /// </summary>
        public FlowTaskOperatorEnum? HandlerInitiator { get; set; }
        /// <summary>
        /// 经办用户
        /// </summary>
        public string[] HandlerUser { get; set; }
        /// <summary>
        /// 经办岗位
        /// </summary>
        public string[] HandlerPosition { get; set; }
        /// <summary>
        /// 抄送岗位
        /// </summary>
        public string[] CirculatePosition { get; set; }
        /// <summary>
        /// 抄送岗位
        /// </summary>
        public string[] CirculateUser { get; set; }
        /// <summary>
        /// 节点条件
        /// </summary>
        public string ConditionJson { get; set; }
        /// <summary>
        /// 节点权限
        /// </summary>
        public string FormAuthorizeJson { get; set; }
        /// <summary>
        /// 节点说明
        /// </summary>
        public string Description { get; set; }
    }
}